package com.iwhalecloud.citybrain.flow.platform.manager.common.service;

import com.iwhalecloud.citybrain.flow.platform.manager.common.ResultForService;

public interface CurrentOrgService {

    /**
     * 根据机构编码获取机构数据
     * @param orgCode
     * @return
     */
    ResultForService getOrgByCode(String orgCode);

    /**
     * 通过机构编码获取下级机构数据
     * @param orgCode
     * @return
     */
    ResultForService getOrgsByParentCode(String orgCode);

    /**
     *
     * @return
     */
    ResultForService getRootOrg();
}
